public class Rectangel {
    double width = 1,height = 1;
    Rectangel(){

    }
    void setRentangel(double width,double height){
        this.width = width;
        this.height = height;
    }
    double getArea(){
        return width * height;
    }
    double getPerimeter(){
        return  2 * (width + height);
    }
}
